package com.example.foodsy.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 系统管理员表
 * </p>
 *
 * @author cgc
 * @since 2025-09-23
 */
@Getter
@Setter
@TableName("admin")
@ApiModel(value = "Admin对象", description = "系统管理员表")
public class Admin implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("管理员编号")
    @TableId(value = "admin_id", type = IdType.AUTO)
    private Integer adminId;

    @ApiModelProperty("管理员登录名称")
    @TableField("admin_name")
    private String adminName;

    @ApiModelProperty("管理员登录密码")
    @TableField("admin_password")
    private String adminPassword;

    @ApiModelProperty("备注")
    @TableField("remarks")
    private String remarks;
}
